//app.js
const util = require('./assets/js/util.js')
const EventBus = require('./assets/js/EventBus.js')
App({
  util,
  EventBus,
  onLaunch: function () {
   
  },
  onShow(){
    let that = this
    if (wx.getSystemInfoSync().model.search('iPhone X') != -1) {
      that.globalData.isIphoneX = true
    }
  },
  globalData: {
    userInfo: null,
    isIphoneX: false
  }
})